package cn.wolfcode.trip.base.query.friend;

import cn.wolfcode.trip.base.query.QueryObject;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
public class MessageQuery extends QueryObject{
    private Integer type = -1;              //信息类型  默认全类型
    private Integer state = 1;              //信息状态  默认未读
    private Long targetId;                  //接收人
    private String orderBy = "creatdate desc";      //默认按时间倒叙排列
    private Date deadline;                  //按时间查询
}
